package org.example;

/**
 * @program: exper_code
 * @description:
 * @author: wjd
 * @create: 2025-11-8 15:29
 **/
public class Course {
    private Building address;

    public Course(Building address) throws Exception {
        if (address == null){
            throw new Exception("课程必须在building内进行！");
        }
        this.address = address;
    }
}
